package com.gsoe.problem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gsoe.problem.dto.SubmitDTO;
import com.gsoe.problem.dto.TeacherCommentDTO;
import com.gsoe.problem.dto.UpdateScoreDTO;
import com.gsoe.problem.po.ExamRegisterUser;
import com.gsoe.problem.vo.ExamDetailVO;
import com.gsoe.problem.vo.ExamResultVO;

import java.util.List;


/**
 * <p>
 * 已注册考试学生信息表 服务类
 * </p>
 *
 * @author xiaoma
 * @since 2024-10-27
 */
public interface ExamRegisterUserService extends IService<ExamRegisterUser> {

    void cancelExam(Long examId);

    void signUpExam(Long examId);

    void submit(SubmitDTO submitDTO);

    ExamDetailVO getUserExamDetail(Long examId);

    void addTeachComment(TeacherCommentDTO teacherCommentDTO);

    void updateStatus(Long id, Integer status);

    void updateScore(UpdateScoreDTO updateScoreDTO);

    List<ExamResultVO> getUserExamList(Long userId);
}
